package com.qiang.homework;

import java.io.File;
import java.io.IOException;

public class HomeWork02 {
    public static void main(String[] args) throws IOException {
    /*
    在C:/a/b/c/d  目录下创建100万个岛国片
     */

       /* File f1 = new File("D:\\a\\b\\c\\d");
        System.out.println(f1.mkdirs());*/

        File f2 = new File("D:\\a\\b\\c\\d");
        System.out.println(f2.mkdirs());

        for (int i = 0; i < 1000000; i++) {
            File f3 = new File(f2, "\\ybd.avi"+i);
            System.out.println(f3.createNewFile());
        }

    }
}
